package com.apes;

import com.apes.framework.jpa.repository.ExtendedJpaRepository;
import com.apes.framework.util.SystemUtil;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author wuq
 * @Time 2022-9-5 16:39
 * @Description
 */
@SpringBootApplication(exclude = {
        SecurityAutoConfiguration.class,
        org.flowable.spring.boot.SecurityAutoConfiguration.class})
@EnableTransactionManagement
@EnableCaching
@EnableJpaRepositories(repositoryBaseClass = ExtendedJpaRepository.class)
public class SupplierApplication {

    public static void main(String[] args) {
        SystemUtil.setProperties();
        SpringApplication application = new SpringApplication(SupplierApplication.class);
        application.run(args);
    }
}
